Detect javascript filetype from node hashbang

Cherry-pick gigadude/geany@e50462e780fcafd28120dafcf0d22fcea098a593 to add node hashbang detection.
(Or take the whole thing if you're feeling generous and want colorized compiler output to look better :-)