JS functions: is_attached
[fix] Database models

* Fixed old deprecated method names
[fix] PHP 5.3 compatibility

* Fixed gps syntax for php 5.3
Forms, gps

* Fixed GPS bugs
* Hidden street view controls
Merge branch 'master' of ssh://github.com/just-paja/pwf