Cleanup templates

- Only templates that are not overall useful are disabled, all others
  have been enabled
- Addition of isInstanceOf template
- Removal of systrace template because it is broken and not useful
- Fix of val template (it had wrong context id)
- Some more minor cleanups