Famous/famous — pull request #164 by alexanderGugel (2014-08-01 22:57:17+00:00)
Title: Implement toggleClass

This commit implements a toggleClass function. This is the equivalent to jQuery's toggleClass() function.

New:
```javascript
/**
* Toggle CSS-style class from the list of classes on this Surface.
* Note this will map directly to the HTML property of the actual
* corresponding rendered

.
*
* @method toggleClass
* @param {string} className name of class to toggle
*/
Surface.prototype.toggleClass = function removeClass(className) {
var i = this.classList.indexOf(className);
if (i >= 0) {
this.removeClass(className);
} else {
this.addClass(className);
}
};
```