Fix semicolons in JavaScript

Fix the code that makes JSHint issue warnings about missing
semicolons.

Change-Id: Id76ee094ae32cbb00f24b06b303a73fd258e5666
Implements: blueprint js-coding-style-checks
unify the text: change "Update Subnet" to "Edit Subnet"

Change-Id: I90ea32e5ee39509c526d302c596f6e9c8522f4e5
Closes-Bug: #1254985
Updates .gitignore

To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if these files exists,
so improving this with *.sw?

Change-Id: I91c799acfe186791061cd91414f606fd7cf08fb7
Closes-Bug: #1255876
Use [] for new arrays in JavaScript

Fix the code that makes JSHint issue warnings about the use
of new Array() instead of [].

Change-Id: Id00e938d4c4df7da92397f4cf84da7d32ee5e7b8
Implements: blueprint js-coding-style-checks
Merge "Updates .gitignore"
Merge "Fix semicolons in JavaScript"
Merge "unify the text: change "Update Subnet" to "Edit Subnet""
Merge "Use [] for new arrays in JavaScript"