Added Hydra::AccessControls::Permission#to_hash for better compatibility...

... with hash-based permissions

Added unit test module for Hydra::AccessControls::Permission

If merged, hydra-head version should be incremented to 6.5.0.