Added settings module and exposed it to the templates

The server should require the same settings module as the client; so
that the checks is performed on both sides.