initial commit
added documentation + updated readme
added support for first and last page buttons
added documentation to the public members also fixed the old phpdoc by adding type to each param