moved output type registration to it's own function

started adding status code handler
fixed various issues with content conversion
sorted passing request through to content scriptblock
Merge branch 'master' of https://github.com/timparkinson/http