Test script added

Tests PHP version, session maintenance and include file inclusion.
Should help users who have occasional issues to pinpoint problems.