Support Cassandra String based partition keys

Fix for #1518 and #1591