creddit: libreddit: Move UserAgent string into RedditState

This patch moves the currently used UserAgent string into the
RedditState. Origonally, it was just a defined macro to a constant
string in libreddit (Which doesn't really make any sense). This patch
allows it to be changed and set on runtime to whatever is wanted/needed.
libreddit: Add libreddit UserAgent

This patch adds a libreddit UserAgent to the full UserAgent string. Ex.
With cReddit, the full used UserAgent is:

"libreddit/0.0.1 (http://github.com/Cotix/cReddit) cReddit/0.0.1"
Merge pull request #49 from DSMan195276/fix-useragent

creddit: libreddit: Fix useragent
creddit: libreddit: Project-wide debug option

This patch expands the debug system to be a project-wide debug setup
instead of internal to each module. The basic idea is that
./include/debug.h is included by every module in every file and has
basic macros for DEBUG_PRINT. Each module takes the liberty of setting a
module name for itself for the debug log, as well as the FILE* to write
to. The actual used FILE* can be found in ./src/global.c, all the other
FILE* for the debug file in other modules gets set to the contents of
that one when the program starts and the log file is opened.
Merge pull request #51 from DSMan195276/global-debug

creddit: libreddit: Project-wide debug option
creddit: Pass parameters to run.sh to creddit

Small patch to run.sh so that the parameters sent to run.sh get sent to
creddit. So. Ex. you can do this:

./run.sh /r/programming

And that will call creddit with:

./creddit /r/programming
creddit: Fix printing issue

This patch fixes a printing issue were the screen wasn't always being
cleared when a Link or Comment's text was open.
libreddit: Move Reddit.com strings into constants

This patch moves the constant strings used for Reddit.com into global.h.
Nothing major, but it provides an easy place to see all the API pages
used and how everything fits together.
Merge pull request #52 from DSMan195276/various-fixes

creddit: libreddit: Various fixes and clean-ups