Make it work with Twitter API 1.1

Metaview created https://github.com/spazproject/spaz-webos/pull/62 - modifying the code generated from spazcore. I've patched his changes into the spazcore source.