Fixed action link parsing for resources

When parsing a resource link with '?action=' included in URI,
link is parsed as Occi::Core::Action and not Occi::Core::Link.