gh-81: Reorders module loader detection conditions for greater compatiblity.
Since NoFlo contains a non-functional instance of require.js, the
CommonJS case needs to come first.