1. Cleanup analytics SConscript env which was adding a -O0 thereby

   ignoring the optimization passed in via SConstruct
2. Added gendb_if_test to test variant vs hand coded struct
   performance
3. Fix analytics systest after bottle packaging change