Added access control management to factories.rb
Add uniqueness validate in role name, privilege name, resource key and resource name
Use seeds.rb data for FactoryGirl