Added a REST API for fetching company data. The API can be called e.g. with curl

curl http://localhost:3000/api/1/companies.json
curl http://localhost:3000/api/1/companies.json?limit=50

curl http://localhost:3000/api/1/companies.xml
curl http://localhost:3000/api/1/companies.xml?limit=50