Support for select all/none buttons

I have added the support for select all and none buttons and also formatted the template html string for better indentation. The demo of these buttons can be seen here:

http://plnkr.co/edit/rt00RjVQ5pX1ZODJ4Ogr?p=preview