Add Up Navigation to ActionBar

Add up navigation to the actionbar, and various bugfixes involved in
getting this to work
Lint fixes