Added check for writable session save path during installation

Fix for Issue #1195. Added checks to make sure php session save directory is writable during installation process.