Fix getopt bug on RHEL5.
Automatically fix permissions on key & cert file if they are wrong.
Make permissions constants for ease of maintenance.
Added notes about import permissions to quickstart guide.
Prepare file versions ready for 1.0.3 release.