Revert "core: add AST support"

This reverts commit e5b947e16545e300473b173ff7968c4a0b250777.

Change-Id: If8fea813b1fdfc05be81e1e3a0213c85f3c35ecc
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2-sgt7