jshintrc: added jshint configuration and made some changes to first file (core/Classes) to move it towards jshint compliance