PSR-0 and unit test for singleton pattern

Hello,

In this PR, there are PSR-0 and simple unit test for the **Singleton** pattern

HTH