Upped shard to 4.0 and locked doctrine/annotations version

Since shard has a BC break I will also up `shard-module` to 3.0