Redis-only version of lob.li - Almost complete.

This version removes all the mysql stuff and uses a redis db for everything.
Put link data into a list instead of storing seperate values for everything.

This is silly to store everything seperatly when I can just query and get an array for everything that I need.
Escape class 'res' for the echo statement.
Fix the Include path on Operating Systems that use a case-sensitive FS (*nix)

Yeah, I thought I fixed this a while ago, but apparently not. Fixed now though
hide #theLoader by default.

This was commented out for testing of the loading transition when the site does something through AJAX
remove misplaced bang that prevented stat gathering from working.

Was getting short link error when attempting to view the stats. This was fixed by checking if getstats was set instead of wasn't set
Change link expire time to future (in secs)

expire() and setex() store as a countdown from now and doesn't persist it between server reboots and repopulation.
This is fixed by setting the keys to expire at a time in the future
Move stat table generation to stats.php.

This page is mostly static and it shouldn't require a call to process just to make a table.
remove diagnostic print_r to test array values.

Checking to see if everything is getting into the array properly in the right place.
Change click tracking to sorted set.

Using a sorted set makes it easier to sort from highest to lowest on the stats page.
Minor change how tracking is done on the index and link checking has been updated.
Add missing parenthesis that I forgot.

Whoops. PHP errors, yay.
Grab links from list and start redirecting again.

get links:id doesn't work since I moved it into a list.
That break doesn't do anything, removing it.
Change l59 if to or instead of and, remove echo
Fix check to see if link exists in db or not.

This seemed like the most friendly way to do this since my other option is checking all links:id for the string of the url
Fix the date outputtoday's date
Add lobli links to the linkid field
Mysql to Redis migration helper.

Pretty hacky way of doing this, fetches needed data from table and adds them to the redis db.
Run it from the command line: $ php redis.php
set your password as needed
tell process.php that we want to resolve links, not shorten
Attempt begin resolving links and testing code.

This is still incomplete, but should be finished soon
Add some documentation to the migrator.

The SQL commands may or may not work for you. They worked for me and did what I wanted.