Added check_integrity method

Added check_integrity method to GraphPartition object in modularity.py
Removed random_mod_old method and refs to module_merge method in modularity.py
Corrected spelling error