Somewhat standardized API names

The following convention is mostly kept in API functions (see
PHP/public_functions.php for full list):

* User-related functions (add, login, edit) start with publicUser
* Book-related functions (get, import) start with publicBook