Added port support to images url generation

Some people use different server ports in devel environment. For example MAMP, the famous mac 'lamp' app, uses :8888 as default.

The current version of lib don't support that on the url() replacement function. This pull add this functionality,