Refactor icon button to take a hash of well named parameters

This refactor makes this helper more general and easier to use.

You now can pass it:
- a data method for a delete button
- more classes for changing its color
- data-toggle for making it a dropdown

This can now be used for the options dropdown although this has not been included as a .png is required instead of the bootstrap class .cog