Get user name from the request header.
Consolidate getContestId and getSubmitId.
Cleanup Main.hs.
Add error handling.
Merge pull request #9 from chiro/user

ログインしているユーザ名の取得