Allow baseUrl to be set as a flag

Hello @dpup, 

Please review the following commits I made in branch 'nick-flags'.

94bfc277f54dfe0ff209df49837ce7c4891e7954 (2013-04-17 13:16:07 -0400)
Allow baseUrl to be set as a flag

R=@dpup