fetch mimetype now 'application/json' instead of 'html/text'

also added test

	modified:   app.py
	modified:   test.py
Merge pull request #3 from russellballestrini/adjust-mimetype-json

fetch mimetype now 'application/json' instead of 'text/html'