fixed useFragment support
Merge pull request #19 from nikgraf/master

Improved History Support