handle param space:
entity query and search - trim; other - 400 error
Merge pull request #214 from forumbyr/master

handle param space
Merge pull request #30 from cnnic/dev

Dev