New libraries for psl1ght - proper

- Updated libcurl to the latest version 7.31.0.
- Ported polarssl 1.2.8 to psl1ght.
- Reorganized ps3libraries script order to compile curl with polarssl support. SSL support is enabled in curl.
- Ported lib json-c to psl1ght.
- Updated patches for libcurl, polarssl for compilation.
- Updated execution rights on new scripts.
- zlib script execution fix introduced in last commit