State pattern restructure

Here is how PHP examples should look like according to what was agreed in issue #34 I think.

Please notice all the details in it (directory names, file names, namespaces, test suit format, example usage format) and let me know what you think.