Optimized string escaping and added build instructions.

This implementation supports Unicode as well.