Added lua attribute to get faction->idx as an faction id
Merge pull request #2949 from impaktor/faction_idx

Added lua attribute to get faction->idx as an faction id