Add custom license with fallback to defaults

This is a remake of pull #41 as @duilio requested.

If LICENSE is defined then use it on footer, otherwise fallback to defaults.