Allow definiing/implementing interfaces, constants

Whitelist:
- Allow var_dump() for debugging
- Allow define() for constants

Other:
- Added SecurityException class

Refs #5