Update to latest WIP

    * Added oo_trap_user.rb
    * Added application_state.rb and environ.rb plus unit tests
    * Added README.writing_applications.md