fixed some bugs in event tracking
made task_lock function use redis instead of mysql
modified buycom tracking so it renames tracking files properly
added facets to elasticsearch