Adding composer support.
Adding ext-curl requirement to composer, updating docs.