Cleaning up the button classes

Currently the code leaves empty btn- classes if there is no size or type specified.
This commit fixes that and only outputs them if they are needed.