Fix test system on Python 2.6.6
Fix ER_CREATE_FUNCTION format arguments
Fix OPENTAR-84: crash in on_replace_dd_func during recovery

`_func' space recovered before `_user' and auth_token can't
be retrived during creating struct func_def.
Merge remote-tracking branch 'github/master'