[bosh_agent] CentOS support in the agent

- refactored the classes for the Linux flavors