Initial commit of completely redone reddit API

It's still way to buggy and incomplete for full use, but the basics for
logging into reddit, getting a list of links either from front or from a
subreddit, and getting comments is done for the most part

Things to be completed:
  Fix the 'morechildren' API call for comments
  Implement the full reddit API
  Implement getting subreddit info
  Change syntax into Camel-Case to match coding style of cReddit
Small fixes as well as simplifying Cookie list structure

Global_State uses a linked-list of cookies. This patch makes the
linked-list add new cookies to the beginning instead of the end (Getting
rid of the need to have a pointer to the end of the cookie list, and
simplifying some code.)

This patch also has some minor syntax fixes.
Changing structure's to use camel-case
Change functions and variables into camel-case
Give API wide-character support, and implement it in cReddit

While normal ASCII/UTF-8 works well for the majority of the text
gathered from Reddit, Reddit does use Unicode via \u escape sequences.
This patch implements a parser for Reddit's escape sequences, and
provides wchar_t versions of body text and title text with proper
unicode characters (The normal char* still work fine, they simply now
lack the Unicode characters completely).

To implement this into cReddit, Ncurses was switched over to use
wide-character support, along with most of the cReddit internals.
locale.h and setlocale() are used to make sure the correct text encoding
setting is setup on program start.
Basic UI updates and Reddit API improvements

The UI now detects the terminal size and adjusts output acordingly.
Each link is now limited to one line of text on the screen and
scrolling through the links works correctly.

The Reddit API now implements all the links inside of a RedditLinkList
structure as a simple array of pointers instead of a linked-list
structure (Since random-access to individual links is usually needed, a
linked-list is not very efficent and shouldn't have been used to begin
with).
Changing line rendering so they are rendered into a persistant buffer

Before lines were rendered directly to a temporary buffer and then
printed on the screen. This changes it so instead a persistant buffer of
lines is kept and displayed/updated when nessisary.