Extended ASN.1 encoder

Extended ASN.1 encoder to support BOOLEAN FLAGS and context dependent tags.
Add support for GENERAL TIME as well

Change-Id: Id53edd1ab21cd86150acdab46372583c377cdcb8
Signed-off-by: Meggan Ehret <meggan@qeo.org>