Use AMD, decouple the jQuery plugin from other classes (Resource, Pagination)

- Create Class based on John Resig's class and CanJS Constructor implementation;
- Change $.fn.paginate to manage moreButton and manage pagination;
- Updated tests accordingly;