Add API for development mode toggling

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Add functions for clearing the cache

Signed-off-by: Austin Seipp <aseipp@pobox.com>