Split out dictionary reader and primitives

Add a new file `dictionary.js` that handles reading dictionary.
Add a new file `primitives.js` that contains functions to read the
dictionary primitives.

`argot.js` is stripped of all functionality and is now just a wrapper
around dictionary.js