fix bug in parsing non-string element attributes
fix bug in viewChild and expression context
add app.views.fn method
make App an event emitter
initial support for loading views from template files