Check for cart before making cart function calls.
VUFIND-900
Merge branch 'master' of https://github.com/vufind-org/vufind

Conflicts:
	themes/bootstrap/templates/record/sms.phtml