import_openssl.sh improvements based on external/bouncycastle work

Tested with
   ./import_openssl.sh import .../openssl-1.0.0.tar.gz
and confirmed no source changes

Also added debug flags in android-config.mk for later use

Change-Id: Idbfefe7bc16790060eb58c116b0961c195b3a087

Conflicts:

	openssl.config
4 files changed