Store image into database

- store image binary data into database
- if image has been deleted, new file is created when be requested.
- change file name into unique name using SHA-1 hash.