Implemented CategoryTest and finished basic test infrastructure.
Updated gitignore to exclude local installation files.
Updated cache system, see #2.