Rename EndPoint to Endpoint

Accordingly to glib style also:
  * END_POINT -> ENDPOINT
  * end_point -> endpoint

Change-Id: Ieab7911b15fe1e281859588674d852c45296c968