Basic database driven API call set up - refactored file structure!

returns JSON when you visit http://give.cat/api/cats.php?callback=aaa

Added working initial database calls at /API returning image IDs and orientations

Signed-off-by: Matthew Rayner <matt@mattrayner.co.uk>
Initial Database Drive JS

Same file as original awwcat.js - need to do actual conversion

Should also fix spacing etc (a bit funky atm)

Signed-off-by: Matthew Rayner <matt@mattrayner.co.uk>