Fix some bugs and finish basic tests

Fix a bug in FileParser reducer which emits duplicate empty pairs

Fix a bug in PageIn/OutputFormat which parses string incorrectly

Fix a bug in PageRank which results in wrong iteration index

Fix a bug in RankCalculator which loses rank mass for no-outlink nodes