Node editor changes :
	updated PM rules for each handler. updated initial (when a closed node is opened) starting cases for each widget.

Bugs :
	equation handler still not working completely
	0 value in initial is not working properly. Its not saved when you open the node again.
	if you have selected a type and closed a node, the border comes, so if after reopening a node u change the type to defaultSelect the visual goes really bad. - discuss with pradeep
Merge branch 'sachin2' of github.com:bvds/LaitsV3 into sachin2

Conflicts:
	www/js/controller.js
Merge branch 'master' into sachin2
Code review for author mode fixes.
Changes are mostly formatting and removing cruft.
Still need to fix handlers for equation and initial value.
Still need to clean up initialControlSettings().
in the middle of fixing
Adding perfect node functionality to the model and PM.
Merge remote-tracking branch 'origin/master' into bstrong
Removing console.log used for testing.
still solving problem
Code changes for handling initial values(0 value, empty value, nan values and percentages) and node type and some code review changes.
Known Bugs :
	Empty type not saving to the model. So when we reload the problem the node type does not come back as empty.
	Equation handler not fully functional
fixing equation box issue
Prevent node editor from closing when expression entered but not checked
Merge branch 'master' into joinerr
Code to handle equations correctly.
saving state problem fixed
Working on stopping close with unentered equation.
Code review:  Doesn't work in author mode.
Workaround for equation checking before node editor closing in author mode
Code review for unentered equation on node editor close.
Merge branch 'master' into haoxuan3
Skeleton for getting state into the PM.