[#2120] Initial support for Solaris.

Why?
------

Because we need to build and test Solaris packages of our software.


Solution?
-----------

Start with making python-package work on Solaris 10u11 x64.

Initial hurdles:

  * `/bin/sh` is not POSIX-compliant
  * `uname -p` is not a reliable way to detect native arch on Solaris
  * GNU make is `gmake` and lives in `/usr/sfw/bin/`
  * use the BSD-flavoured `install` from `/usr/css/bin`.


How to check?
------------------

Please review the changes
Build the package on Solaris 10. 
Make sure it doesn't break in other OS'es.

reviewers: @adiroiban