Fixes for AppControllerTest
check for pagination param in attributes and not for page in query
Add getFirstPage / remove per_page before page param in query string
add hasFirstPage and getFirstPage
implement getFirstPageUrl
adjust regex
add rel=first link header
add patch action
adjust regex
change order of link headers