Active state logic

In navigation we prevent the active state being applied to button-style links with ```href="#"``` and in the navbar widget we have code to make that work again.

This causes all kind of issues with the navbar. See https://github.com/jquery/jquery-mobile/issues/1181 and https://github.com/jquery/jquery-mobile/issues/5707 which have been fixed with a workaround.

Besides this there have been a few feature requests for making those buttons getting the active state. See https://github.com/jquery/jquery-mobile/issues/5009 and https://github.com/jquery/jquery-mobile/issues/4469. This was just partly fixed by https://github.com/jquery/jquery-mobile/pull/5337.