Fix parent item listing

Moving the format_item_parents_select() function broke the Ajax call for parent items. I've moved it to the item_input file in the lib directory and changed the ajax.php file to include the correct file.

Also changed the Javascript to only send the information we need for finding parent items. Wasting bandwidth sending the entire form.