core: add AST support

Change-Id: I42203d7c0173e6cd880da3937f88e8f5c501db9d
Revert "core: add AST support"

This reverts commit e5b947e16545e300473b173ff7968c4a0b250777.

Change-Id: If8fea813b1fdfc05be81e1e3a0213c85f3c35ecc
Merge branch 'cm-10.2' into martincz