merge imageapp stuff, etc

more wsgi compliance with environ and exc_info
placeholder for cookie tests
some other stuff?
**Note: It's not currently working