Fixed `ReferenceError: CollectionAPI is not defined` in meteor 0.6.0

Upgraded to meteor 0.6.0 today and noticed that CollectionAPI is no longer working. This pull request fixed the issue for me running on meteor 0.6.0.