Symfony2.4、How to handle File Uploads with Doctrine をそのまま写したもの。http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html