Creating lpc directory.

Seperating apply/apply_cache to its own module.
Move safe_apply to apply.c
Move more files into lpc dir.
Move grammar and specs.
Merge pull request #182 from sunyc/master

code base re-factoring to separate LPC & Driver