Updated composer.json to require stable 3.1 release

First PR, so sorry if this is submitted incorrectly. Attempted to install the auto-complete module and seemed to have issues with requirement of a dev version in the composer.json