More refactoring

- pulls logic that converts haml/jade completions out into its own module
- adds simple test that can be ran against haml/jade completion conversions
more refactoring