test(navbar): should not throw if up state does not exist
fix(navbar): only compile up button if up state is found
test(view): direction detection should work with params in state url

Added three expectations regarding the direction detection when the
state url has a parameter in the state URL which is not the last URL segment.
fix(navbar): log error when param in state url

Parameters in URL currently prevent us from detection the up state
automatically. Hence, we remind the user the they need to set the
up property on the data object in their state's configuration.
Merge pull request #80 from excellenteasy/upstate

navbar empty when state's data object has incorrect up property