Add property $.ui.useInteralRouting

When set to false, this will not call "checkAnchorClick" which is the internal routing check for AF UI.

Fix #355
add $.ui.useInternalRouting check to popstate so we do not trigger $.ui.goBack() when the hash changes.