Some cleanup and refactoring
Update KOHA.AJAX to use new error format
Ported two new services, minor refactoring
Merge remote-tracking branch 'gitfs/bug-12272' into angular-circ