Adds ability to filter the getCompanies function

Adds ability to filter companies using values from the '$companiesData' array.

examples:
    getCompanies("building_name", "Rubber Plantation")

    getCompanies("industry_token", "Weapon")

    getCompanies("already_worked", null)

    getCompanies() //This will get all companies