Add lisp self-checks

* create built-in assert and warn functions
* make selfcheck call any detected tests