Added support for

- relative paths
- add a random number as hash if one cannot read the static file
- read the static file only if the hash is not mentioned in the grunt file.