fixex bug in is_active, added unit tests apps/api
git push
git status
git help
Merge branch 'master' of https://github.com/codalab/codalab