added bit library for lua
changed factoid parameter init
added web server for pastes and link shortening. still needs work. likely temporary.
quite a few bug fixes