Fixed bug that incorrectly showed the range of records on each page. Created a new partial that is now used in failed.erb and queues.erb. The ranges now start with the correct number and will not exceed the maximum number of records.

Also, switched queues.erb to respond to the per_page POST param with a default of 20. Both views now implement the same range and pagination.
Merge pull request #834 from stim371/corrected_page_range

Fixed page range for queues in failed.erb and queues.erb