Added path seperator replacement code

Now @@pathsep can be used in js code to get the path seperator for the
current system
Updated export tests

Separated creating bbcode export to its own test, since export.js does
testing on the unbuilt source files
Merge branch 'bug/issue/25' into develop

closes #25