Documentation improvements and function renaming

Renamed several methods in photo object from old_naming_scheme() to
newNamingScheme().
Added & improved lots of phpdoc documentation
Start of refactor place object

Removed unused $search parameter from get_*_select_array()
Removed unused function get_*_search_array()
Moved all global function in place.inc.php into the place object as
statics and added phpdoc blocks