[tkt-39] builds phar file

Added build target "build.phar" for building sg.phar. You have to
specify version `ant build -Dversion=1.3.1`.