Custom application doesn't get command line arguments

There is an issue in main method. When using with customized `PilboxApplication` passed through `app` param, this application doesn't receive arguments from command line. The problem arises because `tornado.options.parse_command_line()` runs after application instantiation. It should run before application instantiation, but with custom application it isn't possible.