Fixed a bug where the pathname would be used instead of the hash when history is not enabled

Fixed a bug where the pathname would be used instead of the hash when history is not enabled.

For example:

    http://localsite.local/test/

this would cause spine to assume that /test/ is a route, even though history is disabled.

Changed code:

    path = window.location.pathname

to

    path = if @history then window.location.pathname else window.location.hash