Core pr 4

Merge with PH libraries.
Fixed a lot of theme related stuff.
I see that converting camelCasing to snail_case is usefull and `drupal_html_class()` does not handle this.

I would think this to be useful in general. We should consider refactoring this into a function á la `ting_html_class()` and moving it into the `ting` module.