Cleanup develop

* Make code it bit more DRY
* Add excludeClass & returnToTop optio's
* Fix titles in history (for custom title usage)
* Fix smart load title being overwritten accidentally
* Add ready event
* update readme and version