In compliance with Strict Standards, statically-supported methods broken into instanced and static versions. Static versions prefixed with 's'. Added mapArray() method and ability to call it in sql().