Examples - update server-side processing examples for new data

New: Server-side processing scripts rewritten to use PDO and use a class
with static functions for code sharing between all examples.