Some warning fixes, fixes with PhpUnit, and getIdsFromMixed bug
Fix problem with delete
Merge pull request #1 from meniam/warning-fixes

Warning fixes, fixed problem with delete method and added some unit tests