Moved constants to php/config.php for easy editing
Added anonymous URL shortening
Added 'DEBUG' constant
Fixed anonymous URL submitting