Added a service to track the type of browser state we are dealing with.
Added a generic tooltip directive.