Fix pagination for ActiveSync mailbox searches.

Fixes search when a range is sent that is less than the total number of results.
Like, for example, in Android 4.4
Remove debug output.
Update package.xml

Conflicts:
	framework/ActiveSync/package.xml
Fix returning device entries with multiple user accounts attached.
Bail out if we can't find a backend id for the activesync folderid.
We need to check for both signed or encrypted here.

Fixes sending s/mime encrypted messages to clients that support them.
Detect signed/encrypted parts below the base part also.

Seems like most clients will reject the signature when the base
part is not multipart/signed, but at least attempt it.