Fix reverseNts in primers.js

Change tabs to spaces
Add some exports
reimplement isCoding flow in primers