Added Hydra::AccessControls::Permission#to_hash.

Added unit test module fopr Hydra::AccessControls::Permission.

#to_hash was added b/c added to 6-4-stable in #146.