Source compilation for Scala server.

Php subdirectories fix.
Special compilation path to avoid name colision.

TODO: Php UI is needs fixing on the server
TODO: Scala server is not yet available for download so no compilation yet