Code refactor for global variables and for-in loops

A lot of global variables are being used in lib.js
All for-in loops where iteration is being done on array has been converted to
forEach loop. This further reduces global variables.
constructorReturnCode is the new variable name for return codes from larry
constructor. This is being used in core.js. Hence a change has been done there
as well.
Merge branch 'develop' into feature/code-refactor-loops

Conflicts:
	src/lib.js
Full code beautification, syntax and brace styling correcting and all lint fixes done. Needs peer-review @ritesh-pandey
Merge pull request #13 from fusioncharts/feature/code-refactor-loops

Code refactor for global variables and syntax fixes. + Linting!