Porting master/detail pattern to the rest of the console

Implemented the drilldown pattern per [NEXUS-7612](https://issues.sonatype.org/browse/NEXUS-7612). This is a huge change, so I fully expect some kinks.

In particular, you’ll notice that singleton buttons and tabs on detail panes look strange, per the screenshot below:

![routing - sonatype nexus 2014-11-25 10-43-02](https://cloud.githubusercontent.com/assets/186715/5189105/f70980c6-748f-11e4-8b09-1e29890d1fe5.png)

I think this is fine for now, for a couple of reasons:

+ For detail panes with a single tab, I recommend we use an [h3 instead of a tab](https://issues.sonatype.org/browse/NEXUS-7758) to label the section.
+ We have a [plan](https://issues.sonatype.org/browse/NEXUS-7709) to redesign tabs. This will give them a background treatment similar to that of grid rows (below), which will result in better separation between the action buttons and the content.

![repositories](https://cloud.githubusercontent.com/assets/186715/5189193/7fdcc1d8-7490-11e4-94e5-70257b0c6cce.png)

The following admin features have been converted to the drilldown pattern:

*Repository*
- Repositories
- Routing
- Targets

*Staging*
- Profiles
- Rules

*Security*
- Privileges
- Roles
- Users
- LDAP
- SSL Certificates

*System*
- Capabilities
- Plugins
- Trusted Keys
- Tasks
- Templates
Not really useful. I guess you used this for debugging purposes. 
Another thing, if you still wanna keep it, is that we define all vars at the begging of function.

There are few more places like this.