initial work for app lifecycle
Merge branch 'master' into app-cycle
finish app lifecycle work
merge with master
remove line comments, and convert some functions to the one line notation
grammar nit
merge to master
Merge pull request #70 from dart-lang/app-cycle

App cycle