get_agency_type and get_branch_type


git-svn-id: svn://oss.dbc.dk/sync_php/php/OpenLibrary/class_lib/trunk@57935 30e9dc4a-7611-4fbc-83ba-eecf79b76bd0
json instead of xml


git-svn-id: svn://oss.dbc.dk/sync_php/php/OpenLibrary/class_lib/trunk@57937 30e9dc4a-7611-4fbc-83ba-eecf79b76bd0