First stab at a fix - now propertly populating the directive lists.
Handing back to Brad for further work.
Enough of a fix to make the directives tree show sections.  Sections are not parent/child related yet, and categories display incorrectly, and controls do not display anywhere, but this is good progress.
Fixed treeifying for sections
Fixed category display in tree
Massive speedup in tree view on programs page.  Incremental rendering of subtrees now, when expanded.  Controls/categories/sections/directives all show now
51664501 Change title for related widget to "Impact/Scope"
Incremental rendering fixes in mustaches and control mapping modal now displays but does not work
Merge remote-tracking branch 'origin/feature/fix_directive_tab' into feature/fix_directive_tab
Queueing the drawing of related tabs and tree levels with a queue_events function
Only retain query string on selfLink for collections
Introduce ModelInflector and use it everywhere

* ModelInflector should handle canonical strings/names for
  models for (model, table, human, title) X (singular, plural)
* fix Resource class to use it
* fix tests to match
* also add ggrc.models.get_model(s) to handle string-to-model
  resolution for all inflections
Set SQLALCHEMY_POOL_RECYCLE to be less than `wait_time`

* should fix "MySQL server has gone away" errors in development mode
Enable setting join tables and fix tests for polymorphic links

* change builder update and publish of 'property'/polymorphic links
  to include 'type'
Fix related widget to use _inflector and not duplicate tabs.
Implement new selectors for Documents, People, and Relationships

* add ModelSelector CanJS controller
* also add initial forms for Document and Person
* add parameter to related_objects response data
* fix some API routes in JS
* add "defer" and "renderLive" mustache helpers
RBAC Edit Role Dialog
Merge pull request #28 from reciprocity/feature/fix_directive_tab

Working directive and category tabs in Program page
Merge remote-tracking branch 'origin/develop' into feature/model-inflections

Conflicts:
	src/ggrc/assets/javascripts/models/simple_models.js
	src/ggrc/templates/programs/show.haml
Merge pull request #27 from reciprocity/feature/model-inflections

Implement selectors and Model Inflectors
Fixes around quick search (loads on click), ObjectDocument (new empty object doesn't cause errors), and directives tree (no errors from quick_search controller)