Store Parent UUID In entity_id not, parent_id.

We assume that parent_id is 'old API', and we store that data in the
entity_id column.

@otfrom - please review short discussion in IRC around 12:59 at:

http://irc-logs.s3-website-us-west-2.amazonaws.com/kixi-20140704.log.html