More checks for protected getShaper accesses.

Also: Make arangodump possible using fake trx objects.
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh