Some cleanup and refactoring
Update KOHA.AJAX to use new error format
Ported two new services, minor refactoring