Turn on/off sharing in AUTHOR mode

The checkbox is not reflecting the database value, but the change is
sending to database. Will fix this problem later.
css changes missed
Get share bit value from database

For checkbox in author mode.
php script to fetch share bit added
Turn on/off sharing in AUTHOR mode done

Everything should work now.
auto node creation code added for student mode
Merge branch 'master' into jingxian2
Code review for share bit.
  Format Bug for checkbox should be noted in Bugzilla
  and in css/dragoon.css
  Need to re-vamp problem saving and fetching as
   described in the changes to the documentation and in
   new Trello card.
Merge branch 'master' into pradeep
Comments on autocreation work in progress:
Used different method of hooking to drawModel.addNode(); see
  colorNodeBorder().
Maybe updateNodeLabel() should be in draw-model since this
  has to do with the drawing canvas?
See comments in autocreateNodes()
Merge branch 'master' into jingxian2
Also, fixed bug with existence test for shareBit in
saveProblem().
auto creation after code review - tested student mode
Fixed the time interval and time steps check in description editor
Turn on/off sharing after modified solutions table

The checkbox of share bit works for new solutions table.
Add comment about code duplication, referring to Trello card.
Merge branch 'master' into ritesh
Code review for time checks.  Moved the time-specific
checks into separate module and extended the typecheck class.
Tests for numbers and % now broken.
Merge branch 'master' into jingxian2
Code review for share bit.
  In www/css/dragoon.css, line 110: need to document Dojo bug.
  Label in Description editor needs to explain what share button
  does.  "Share this problem with others."
automatic node creation for author mode