add custom sizes support via url params

Now it is possible to use urls like `/domain-name.com/1024x768` to get exact 1024x768 image
also fixed jade template to to use relative path with domain as base