Bastion: replacing transitionTo with ui-sref where possible.

This PR also removes several controller functions and tests that
are no longer needed because of this new functionality.