Added api for android application.

Android application should send a GET request to /api/all.php and a json array will be echoed.