added extar interface info to cmake file
added support for escaping '%' character. improved support for format specifiers. updated argument counter function for more robustness in searching strings for number of arg specifiers contained.