Bug fixes in testing and getOccurrences. getSDM removed
cookies written to working directory
Merge branch 'TOM' of https://github.com/JNCC-UK/rnbn into TOM