Removes stray spaces so that the build script can run.
isEmptyObject should use hasOwnProperty: prevents from always returning true if the Object.prototype is extended

#176

Signed-off-by: Alexander Johansson <alexander@n1s.se>
Disable session storage if it's present but not working, thanks to paulschreiber
fixed an issue in Safari's Private Browsing mode where setItem throws an exception
Adds better error handling for the quota exceeded problem seen with the iPad.