Fix Android tablet detection
BrowserAgentTest updated to check against Nexus7 tablet. Small indentation fixes & some refactoring.
@bug W-2269861@
@rev ssun,eanderson@
Merging origin/iurie/master-pending-nexus7-fix into master