add_text.py porting to core.
The -untagged option is not yet supported.
Started work on bug 56774.

Change-Id: I2cf7a4ede53ebf3479748b31590c88b8c9aff4f3
Merge "add_text.py porting to core. The -untagged option is not yet supported. Started work on bug 56774."