Multi endpoint

Fixed conflicts : 
  closes [pull 27](https://github.com/DIRACGrid/VMDIRAC/pull/27)

@vmendez