more api work done
Merge branch 'master' of https://github.com/opencart/opencart
changed insert to add and update to edit for all functions
Merge branch 'master' of https://github.com/opencart/opencart