more copying mysql2PDO from classic.  Also, some fixes in classic
fix groups
remaining conversions
Removed extra }.  Fixes #354
fix extra }
Merge branch 'mysql2PDO' of github.com:ZoneMinder/ZoneMinder into mysql2PDO
Merge branch 'mysql2PDO'