Rewrite and add json generation.

Rewrote parser using RSS feed with the help of GavinTaylor, parses much
quicker now, script will now also generate a PHP document for use in the
Android application.