added javascript function and helper function for adding and removing nested fields, added guets as nested attributes for tickets, made guests a resource for tickets in routes, added some concernful comments throughout