Bug fix

Two small changes.

1) If a collection was empty, the statistics print out would raise an exception because the values for # of file and file sizes were 'None'. If the value is 'None', it is now changed to 0 or 0.

![capture](https://cloud.githubusercontent.com/assets/3431682/4295898/276d5a3a-3def-11e4-889e-7fc708613cde.JPG)

2) I added a .gitignore file to prevent my IDE from polluting the repository. It also will ignore filemgr.db3 as well.