More WIP for Prepared Statements

Readded Bad Chars Action
Refactored code to use int  instead of std::string for bad_chars_action