Compatibility with NodeBB 0.6.x

Modified parser and init in order to work with NodeBB 0.6.x