jquery bug fixes / refactoring jquery + erb/routes

This part solves the N + 1 querying problem. It makes one more query to the DB based on the list of items I just queried earlier. It finds all the records associated with my first queried items, then stores them all in the prayerrequest objects.

The other occurrences of chained methods will no longer query the DB, rather, they know those objects are already stored within the prayerrequests.