fixed script bug

Fixed the script bug where the keyword PREFIX would be added regardless
of whether any prefeixes were added or not.
test code

some test code getting queries to the REST endpoint
Simple Validations for Drop/Prefix

Validations for Drop/Prefix when adding dynamic data.
Merge branch 'master' of https://github.com/FIU-SCIS-Senior-Project-2014-Fall/Intelligence-Inference-Engine
Merge remote-tracking branch 'origin/jose' into lazaro
Search.html JS refactoring