Database: Replaced typed funcs with querySingle and queryArray generics
Database: swapped generics' parameter order
DatabaseConstraints: Updated to use generics
Commented out outdated test code
Revert "DatabaseConstraints: Updated to use generics"

This reverts commit dc238742c53758b57317e4c925473c2df3fbf840.
VehicleLogic: updated to use generics
Database: Re-added queryInts since it's pretty handy