Added cleaner event binding, selector and template are optional, added API docs to readme