broke the input checking for fof_get_items into a separate function, fof_safe_parse_item_constraints
preliminary work on issue 101 - API
resolved issue 274 - expire persistent logins on server side
resolved issue 276 - fixed broken item sorting