Merge pull request #199 from AndHam89/master

Show color of owner of a cabinet in the name of the cabinet.
Cleared up errors resulting from moving a device between cabinets and added trim to the makesafe function. close #198
More work on PDO conversion #164
Reduction of ESX redundant code
Fixed a bug and PDO calls (exec --> query)  #137
Reduction of Cabinet functions redundant code
Merge branch 'master' of https://github.com/samilliken/openDCIM
Typo, doh
Bug fixed in cabinets.php #137
Moved the utility functions that Wilbur created to be inside of the classes that they referenced, but be static methods.

Also found a warning in assets.inc.php that was due to a typo, and quashed it.
Merge branch 'master' of https://github.com/samilliken/openDCIM