How to add an image property to an entity?
You need to create an integer property that references the fid column in the file_managed table.

For inspiration, check out the user_account_form() function (the picture element) and associated validate/submit handlers. They show the exact methodology you need to use.