Add commonClass option that is added to every preview block

This class is added to all preview blocks in the generated styleguide. If your styles have some namespace class that needs to be added to every block and you do not want to add it to every example you can use commonClass option.

Contains also minor bug fix:
- extraHead parameter added extra common to generated HTML markup when passing array