Some fixes for 1.6 release

* Repair spatial selector configurations
* Repair js error on my account plugin (the second time you press on button)
Merge pull request #410 from alediator/minor_fixes

Some fixes for 1.6 release
Update the project to the 1.7-SNAPSHOT version