Optimized session flow, corrected some PHP warnings

Solves #8 .

1) This class now verifies the existing frontend sessions.
2) Nonce is no longer used in WHERE clause of query when checking sessions.
3) Provided default values for functions in Orders class that were causing warnings to be logged in log files.

Requires DB update to v 1.03.