Bugfix
Merge pull request #2 from vnuzhnenko/master

Don't use sudo when executing under root
Added version validation before installation of PHP and do not clean version after delete PHP
Added ability for install PHP extensions: pthreads and fileinfo
Added ability to install couchbase PHP extension
Added imagick extension