Added entityreference field formatter

Created an entityreference field formatter that could be used to display
hierarchical relationship between various entities.