Refactors isInlineFormattable -> isInlineType

Also added the engine.js implementations for hasInlineStyle etc.
 to distinguish them from the node-name based functions.
Fixes jslint errors