support for stream objects as parameters to the db.query function

Changes:
1. A dependency on the Stream host object has been created with the Db host object (pom.xml)
2. Added an extra if clause to check for parameters that are Stream host objects
3. If a Stream host object is provided it is added to the prepared statement used in the query.