More supported file extensions for Spark templates & "Refactor for CSP"

@devoncarew Makes sense?
Please add a TODO:, or file an issue. What I'd really like at some point is for us to do some content sniffing for file extensions we don't understand.