Issue 30

Inject parameters from Join statement.
Get the values from the Wheres in the Joins and add to the paramter list.
Add a test to ensure the correct query is compiled and the correct parameter list is also generated.
fixes #30