Fix for direct results in https, closes #21
Further Cache changes, see #16

Changes to cache code so that the cache for a session is reset when the
user logs in
Beta API efficiency changed closes #18
Changed to .gitignore