Fix pre route handlers not firing

* Check and fire specific pre route handler after the 'all' has been fired.
* Added spec for Thumbs.history
* Added test runner
Merge remote-tracking branch 'jordan/fix-pre-routes'

Conflicts:
	thumbs.min.js