In Qt5 toAscii() no longer exists; this commit defines the toAscii macro at the beginning of each file and replaces it with the toLatin1 merthod
Merge pull request #371 from TNick/QString_ascii_handling

In Qt5 toAscii() no longer exists; this commit replaces it with toLatin1 method