Fixes for api.apicrud module

Fixed some of the pylint warnings and left others to be handled in a next refactor
Hmm. I'm not sure this is an improvement. `instance._meta` is more obvious than `getattr(instance, '_meta')`.