Fixes for api.apicrud module

Fixed some of the pylint warnings and left others to be handled in a next refactor
Ewwww. That is an abuse of line continuations. Good fix.