REVIEW: [NEXUS-6786] Allow exclusion of specific User Agents from browser detection (NX3)

Same change as PR #693, but for Nexus 3 (master branch).

Note that for NX3, nexus.properties has moved to $NEXUS_HOME/etc/