prefix internal variables in controllers/routing::goEdit() with '_'
move logic for 'btn-link' class on sidebar elements out of JS and into template
use single class for active elements of sidebars, differentiate with media type
refactor mixins/tree::hasChild() to hasDescendant() and make it more backboney
put conditional contextModel logic back into controllers/routing
used findDescendant to get the 1st element to open up in the content view
Merge pull request #32 from oerpub/repo-in-url

Place repo details in the url.
Merge pull request #44 from oerpub/pencil-from-mockup

Implement the pencil from the mockup
add depth first search to trees to find the first piece of content to open

also, set `_current*` to be the dereferenced Model because content may
appear in more than one book
change 'selected' attribute to '_selected' since it is a UI attribute

to match _isDirty and _hasRemoteChanges
Merge pull request #48 from oerpub/phil-selection-refactor

Phil selection refactor
Merge remote-tracking branch 'origin/master' into 57573740

Conflicts:
	scripts/views/workspace/sidebar/toc-branch.coffee
add back undefined test
fix typo causing book to not open on initial load
Merge branch '57573740' into testing

Conflicts:
	scripts/controllers/routing.coffee