adding createCSSClass() function

Takes a string and turns it into dash space, i.e. "Some Page Name" > "some-page-name"