Updated to Responsive 9.7.0

Also fixed auto creation of the userfiles directories and a few php
compatibility issues.