use 'code' instead of 'code_' in the program/product api

http://manage.dimagi.com/default.asp?112787
whitespace
Merge pull request #3404 from dimagi/cz

whitespace
add status styling for pillows on dashboard
Updated report #4, also added safer lookup for a link in case when module form was not found.
Merge pull request #3407 from lwyszomi/110688-case

Updated report #4, also added safer lookup for a link in case when modul...
Merge pull request #3403 from dimagi/product-config

use 'code' instead of 'code_' in the program/product api
Merge pull request #3405 from dimagi/style

add status styling for pillows on dashboard
have preindex fail loudly

and email us rather than swallowing exceptions
run version_static after starting preindex

for slightly better pipelining
try another method to raise greenlet errors
print exception traceback