Added logic for determining the Grain version by the property set in site's application.properties