Added database migrations

Implemented `rake:db migrate` command, as without this one, using Rails will be meaningless. 

Also added check (only text check, nothing significant) on whenether `ImageMagick` is installed on a node. This is usefull when, for example, you are going to use something like `paperclip` gem.