Return None for ambiguous parses when no ambiguity is found
Lots of tidy up and refactoring
Merge pull request #2 from nvasudevan/ambiguity_minimiser_collect_stats

Ambiguity minimiser collect stats