fix ApiHelper assert functions

realized the assert functions were not working like in legacy, changed them to booleans and moved the sendErrors to the controllers as some of them had some complex cases.  If you think we should handle this different way though, just let me know.