expanding iprep support v0.3

This addresses the problem found in the last PR:
- added two unit test (one in detect-iprep.c and one in reputation.c) to test the issue found in the first PR (https://github.com/inliniac/suricata/pull/1152)
- SRepCIDRTree declaration moved reputation.h
- initialize the tree when rep data is added in cat

Feature [#707](https://redmine.openinfosecfoundation.org/issues/707)
Last PR https://github.com/inliniac/suricata/pull/1165

- PR build: https://buildbot.openinfosecfoundation.org/builders/glongo/builds/10
- PR pcaps: https://buildbot.openinfosecfoundation.org/builders/glongo-pcap/builds/10