Update apothecary to OSX_MIN_SDK_VER=10.7.

OSX_MIN_SDK_VER=10.7 to support libc++.
Initial skeleton openssl apothecary script.

(cherry picked from commit 672bf6d40adc66e4fc3626bcd49bed4e9aa92c32)
(cherry picked from commit 8709478ad8b4fb57d25d042cf6ad373653d554cc)
(cherry picked from commit b3108813d0c7e7e283eb8ce4d6e4398097e2618d)
Apothecary: OpenSSL Formula iOS (armv7, armv7s, arm64, i386, x86_64)

- Adds formula for iOS compile for OpenSSL for all targeted
architectures.

(cherry picked from commit e9d7c9d7786b5781e5159a3b24482782dbbfe052)
(cherry picked from commit 4cb41804e8245d50c134c3a17f77fa34de57c518)
(cherry picked from commit c3088afa75c829fb3b6250f7bc7a98a79f89dd18)
Apothecary: OpenSSL Formula iOS Update (armv7, armv7s, arm64, i386, x86_64)

### Changes

- In this version updated to be clang compiled
- gnu11 c standard
- Fixed issues with i386 simulator in linking stages
- Fixed simulator targets (had incorrect min version, was causing
issues in compiling for clang as well as symbolic linking errors later).
- Fixed configure script for i386
- Building with optimised -Os flag
- fPIC on (requirement)
- Logs now outputted to log file (cleans up the console a bit) (will
implement in others)

### Validation:
- Verified it works :D! (or the custom build script for OpenSSL which
I cloned from this)
https://travis-ci.org/x2on/OpenSSL-for-iPhone/builds/36021963
- Tested compiled libraries against OpenSSL Xcode project (tested i386,
x86_64, armv7, arm64)

(cherry picked from commit fcf5835762fd187c173fb371e4d01044667c6d38)
(cherry picked from commit 907aa51c86a49c719296fbe55b85403ac4e4bf56)
(cherry picked from commit ced07472ca13b6e432068250a02cfa13a03002b7)
add openssl recipe for OSX fat lib

(cherry picked from commit 8c5b908ec3e99f0d52c17c502f7e8a43c5c43c20)
(cherry picked from commit 2d707252a513e44456a3f1788ab7b7b790cc8fca)
(cherry picked from commit 05e71365b75a4a33e6abae67e0572d92793509b7)
apothecary: openssl android

(cherry picked from commit b20b510314294e1e3e54cf84066448105abfdd68)

Conflicts:
	scripts/apothecary/formulas/android_configure.sh
	scripts/apothecary/formulas/openssl.sh

(cherry picked from commit 7cbf76e80e0b43e3640e4de7f091094f428844f7)
(cherry picked from commit c0c960be446479503164ecbefe8c857a00f5c4df)
Apothecary: OpenSSL Formula iOS Update 1.0.1j (armv7, arm64, i386, x86_64)

- Updated to ```1.0.1j``` (latest)
- Removed ```armv7s```

(cherry picked from commit 2a0e749817ad7a565e99549264dbffe73936b770)
(cherry picked from commit 55f228e94e2ee0953dfa91494c879937e22012f3)
(cherry picked from commit 109a16e2f345da08706f015b85432fdf9be6aca2)
Apothecary Formula Fix For OpenSSL - iOS

(cherry picked from commit fb8ff667183a101ec92ea3eb344ad81a8de5bc8c)
(cherry picked from commit f90ce90a04a81207d53597ba392edffba3eaf058)
Remove old poco patches.

(cherry picked from commit 56e45cd2c37e678daf1a6603e373634169fadf75)
Poco 1.5.3, Add Data/SQLite.

(cherry picked from commit 31da9409a0068a9e9fd2eee8d4afd4f46924701c)
Removed patch from poco formula.

(cherry picked from commit 1092ee79e609e1ffac86ad52fe2d43b944a4954b)
Update poco formula.

(cherry picked from commit acbf977583370a86219b1c00233516a1e02eee20)
Fixed typo in poco.sh

(cherry picked from commit 74119f903cea804af7a0742ee9840ae1565c8f59)
Fixed copying error in poco.sh.

(cherry picked from commit 00678247349d0f393e7969167ce68e950f7c2bf1)
Apothecary fixes for 32 bit linux that reports i686.

(cherry picked from commit 416853044602adf9d649498db4ae0dafff98fbe1)
Apothecary: Poco recipe updates for osx.

(cherry picked from commit 45c819e492e800a098acc02c0bc7d43baffb8d3e)
Update poco formula for 32 libstdc++ /64 libc++ config.

(cherry picked from commit 119f5f2ffcbefface9bacb203c37598f786df39e)
Incremental updates for poco formula.

(cherry picked from commit da503df62202103dad99051fb2dfbb487cfe1d52)
Fix copy stage for poco recipe.

(cherry picked from commit 91aa40b4ed7ea75c77255e7920ddaf56efe931a4)
Update copy stage for poco VS forumula.

(cherry picked from commit a5398de086c69e6b4748d5b3402c5ba9bd99e7d5)