flat ids: interaction with authz updated

namely: parse_id(), standard_list() and role.permitted()
flat ids: changed role.permitted? call format
bump API version to 3.0.0 (as part of migration to flat ids)
removed deprecated format of role.grant_to as a part of version upgrade
cosmetics
more specs for id parsers in base.rb
switch to default stack v4
bump version to 4.0.0
Merge upstream (adjusted paths and ids processing)

Conflicts:
	lib/conjur-api/version.rb
	lib/conjur/standard_methods.rb
Merge branch 'v4'