Add check for existing boolval() function (as it's shipped with PHP 5.5)
Maintenance updates.

Mobile_Detect: 2.5.8 -> 2.6.6
jQuery UI: 1.10.2 -> 1.10.3
jQuery Mobile: 1.3.0 -> 1.3.2
Smarty: 3.1.13 -> 3.1.14
SwiftMailer: 4.3.0 -> 5.0.1
Fixed a few bugs with admin page
Mobile version is more usable, especially to mark as bought, delete and mark as received. Needs more work though.