Element was getting wrong name on windows

Windows uses backslash as the path separator
Merge pull request #5 from davidblurton/fix-element-names-on-windows

Element was getting wrong class name on windows