get curl building in Android-style and include it the build

refs #1548
remove LDAP support, it doesn't build Android-style libs

The LDAP support is probably only needed for S/MIME, which we haven't
touched at all...

refs #1548
REBSE get curl building in Android-style and include it the build
REBASE remove LDAP support, it doesn't build Android-style libs
app_opt/lib is no longer used, replace with symlink to actual lib/

closes #1548, closes #2754