Uncomment and fix parts of spawn_dispatch_thread by creating a process_message function, and fix a SIGSEGV (see https://github.com/rust-lang/rust/issues/19367).
Note that at this point the bot is still not completely functional, as it does not have any listeners - so it doesn't respond to 004 or PING or PRIVMSG
Add default config, and add config.json to .gitignore
Add .travis.yml