Add max cache option to static files

I have added an optional parameter to change the max-age of static files.

Sometimes I need to set a different max age on specific files.

As tests were done slightly differently I have added tests in a different pull request.

Related to #7