Add csrf token utility file

Closes #70
Merge pull request #72 from dockyard/bc-70-csrf-token

Add csrf token utility file