Fix bugs

Fix bugs and clean up code, most of the way towards 1.0

## Code Cleanup ##

- Resolve nearly all JSLint warnings, fixes #8 

## Bugfixes ##

- Fix critical issues with the partial file fallback code, fixes #12 
- Fix issues with same page anchors and back buttons, fixes #11 

## Merges from upstream ##

Merge in the latest stuff from thybag/PJAX-standalone
- Preliminary AMD module support
- Support for older versions of IE when setting titiles