Charactering and measuring multitipartite entanglement