adding createCSSClass() function

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