Fix raising exception when trying to prepare_value at field using a list of no-str elements.

Value for DB is now casting to the value needed, to avoid postgresql requiring a explicit cast
Added tests to check int and double precision arrays
Merge pull request #13 from jneight/master

Fix PostgreSQL requiring an explicit cast when using int or double precision arrays