[Phaser][DominoMultiplayer] Checking login entered by the user against database and code refactoring

- Created server and client folders
- Put all functions inside objects
- Dividing actions and rules in two files and two different objects
- created PHP script to check login in MySQL database, and calling it from javascript
- Created config object to store magic numbers and strings

Signed-off-by: Fabio Benigno <benigno.fabio@gmail.com>