raise new event from sorting
passing args to footable_filtered event
refactored pagination

uses events raised in other extensions
created a createPages function
standalone pagination demo
remove filtered class when clearing the filter
refactored paging extension

renamed options to better suit paging
fetch default page size from data attrib on table
renamed navigate function to createNavigation
added in some checks incase the nav was left out the page
prefix all classes with "footable" so that there are no conflicts with
other css
added showrow function to handle showing of rows
changed paginate css to accomodate changes (also indented)
fixed indents
uses data attribs on table rather
demo with filtering and pagination
demo with sorting, filtering and pagination

included pagination in tfoot
added some css for styling tfoot nicely