Added constant to determine debug mode
Use uncompressed scripts and style sheets in debug mode
Use POST instead of GET parameter for ajax requests

This will help to not pollute the request URL
CS