added uptri flag and diagonal zero-ing, note: breaks tests
updated tests to threshold adjacency matrix to pass with new uptri and diag zero-ing
Merge pull request #16 from cgallen/fix_diag

added uptri flag and diagonal zero-ing, updated tests
BF: catch issue where nan in adjmatrix can lead to bad lookup table, and test
Merge pull request #17 from cindeem/nan_fix

BF: catch issue where nan in adjmatrix can lead to bad lookup table, and...
NF+TST: added tools to convert different formats of partition.index, partition.community for refactor of code
RF added contains_only to reduce repetition, simplify code based on @stefanv suggestions
Fix typo. Slightly more explicit exception checking in _contains_only.
Merge pull request #18 from cindeem/add_util

NF+TST: conversion tools for refactor of GraphPartition
NF: initial import of weighted modularity and tests
NF: function to compute weights to a node by community
NF: adding functions to calc delta modularity for weighted graph, communities_without_node, weight_alledges_tonode
NF: generates dendogram for graph, can return nodes in partitions at each level
Clean up some of the functions and tests
Cleaned up and organized a bit more
RF: clean up doc strings, add exception to try,except, PEP8
RF: Partition inherits from object to handle community property properly, add doc strings
PEP8 and cleaning docstrings
RF: Partition changed to WeightedPartition
RF: change community to communities to clarify code readability