Under the hood changes to support loading of multiple languages.
-Added support for multiple languages. Language Menu is in settings->basic setup.
-TODO: get language system working with global config system.
-Added support for multiple languages. Language Menu is in settings->basic setup.
-TODO: get language system working with global config system.
Merge remote-tracking branch 'origin/master'

Conflicts:
	resources/main.js
Complete Rewrite of multiple language system, now uses robopaint.settings to store language pointer, and uses i18n.setLng to update language.
NOTE: Possibly due to an out of date JSON file for spanish, some dynamic titles do not update at all.
Fixed issue where a refrence to an old subroutine would cause the Reset function in the main menu to fail and reset the language but not any other settings.
Fixed Major issue with i18n, now the main menu and settings respond correctly to changes in the language. Also some minor cleanup in my code. Note to self: add i18n support for other areas of the GUI, specifically the auto, manual print windows.
Internal formatting cleanup, and language resets to default OS language
- Changed commenting format and indentation to meet the requirements of the repo.
- Language now stored as a two digit code (en or es, for example) instead of a numerical pointer.
- Fixed bug where items would not be translated in the menu.
- When the language is reset, it now resets to the OS's language, and not just English.
-

Signed-off-by: rogerfachini <r3fachini@live.com>
Changes and bugfixes for language translations
 - Text in ToolTips now translates successfully
 - Fixed bug where text in some dropdown menu's was getting overwritten (CNCserver is a noted example)
 - Moved language selection from Basic settings tab directly onto the settings page
Fixing careless mistakes and nit-picks!

Small mistakes, trailing whitespace, forgotten equal signs, etc.
Removed some filled i18n attributes and whitespace

- Removed some unnecessary filled i18n attributes in main.html
- Added some settings to Netbeans to remove trailing whitespace (it
worked this time)!
More whitespace and attribute cleanup
Merge pull request #140 from rogerfachini/master

Add advanced multiple language support with instant language switching
Switch i18m files over to single dir structure with named files
Committing "Dev" defaults to package.json!
This means that anyone building from code will get what they want, but requires the production build script to change these values during build!
I that's a todo :P
Add BugSnag error reporter!
This needs better integration, but for right now it should catch most errors
Merge remote-tracking branch 'upstream/master'