Use islandora_paged_content_get_pages(), and associated updates.

Also, fixed use of classes in l().
Merge pull request #23 from adam-vessey/7.x

Use islandora_paged_content_get_pages(), and associated updates.