Restructured directories

Primitives now reside in "prims" [like type.h, function.h], and
compilation passes now reside in "passes" [like lexer.c, parser.h]