Issue CWRC-10

Swap table now supports paging and changing the number of rows displayed.

This implementation converted the swaptable element to be hierarchical.
Most events are driven by ajax enabled form elements.
Merge pull request #28 from ajstanley/7.x

made changes to allow jpegs as source
Ran the javascript though jslint and corrected all the identified issues.
Merge pull request #30 from nigelgbanks/7.x-CWRC-10-Pagination

Issue CWRC-10
Fixed problems in IE8 that were introduced by following jslint recommendations.
Merge pull request #31 from nigelgbanks/7.x-CWRC-10-Pagination

Fixed problems in IE8 that were introduced by following jslint recommend...
Fixes a problem where the overlay module would hijack the swaptable pager links
and cause a page redirect. This problem only showed up occasionally as it relied
 on which javascript object responded to the click event first.
Merge pull request #32 from nigelgbanks/7.x-CWRC-10-Pagination

Fixes a problem where the overlay module would hijack the swaptable page...