Implementing insert method for Entity.

A Connection instance is now required.
Testing insert more thoroughly.
Entity throws an exception when attempting to insert more than once.
Adding update method.

The primary key is also set after insert, but this isn't compatible with
all database vendors yet.
Improving update method to account for primary key changes.