Add agent_capabilities lwrp and test it

In fact... The unit testing does not work, and i don't know why... It seems that the lwrp are executed after the recipe itself... And so the attributes are not set when executing the template. It work when i test outside rspec.