Treeview for search form.

Also fix id generation for treeview widgets when components contain brackets.
Add some state tracking to treeview widgets; add query tracking to search view
Add new invent controller
Implement search by descendants
Change request type from GET to POST for invent form
Add Contradiction table
Merge branch 'master' of github.com:nameless-one/biotriz