A small pagination module for mithril. Pass in an array of items and it paginates based on the options provided