New emitters, changes to work with v2 SDK, more tests and TreeVisitor added

Integrated CL comments

BUG=

Review URL: https://chromiumcodereview.appspot.com//12088097