BUG-731 : removed magic numbers by refactoring Extended Communities.

Change-Id: I4907cec86eed1151f2aa61e120cf78a9a4e55091
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>