fixed bugs in dataset search, tag names list

- added tests
- added CkanActivity and CkanCapacity classes
added .gitattributes
Merge origin/master