Fixed some bugs in the REST service and included the ExtLib's NOTICE and LICENSE files