Merge pull request #141 from cjolif/master

Pull request for issue #73, support of params in HistoryHash
Fix for HistoryHash, and testcase updates to work with FF.
Merge pull request #143 from edchat/master

Fix for HistoryHash, and testcase updates to work with FF