Make sure we always close the state on read and write

Fix #827
add more log for missing_points
Merge branch 'influxdb'

Conflicts:
	wal/global_state.go
refact wal/newLog()
Add data migration 0.7 -> 0.8

Close #809. Fix #746
Make create shard space endpoint database specific.

Fixes #831. Shard spaces now belong to a database so the endpoint should reflect that.
Add flymake targets
Fix a compilation error in the test
Series should be returned in sorted order

Fix #830. Tests and implementation to ensure that list series with or without a regex return in sorted order. Queries that select from a regex will return series in sorted order.
Merge pull request #833 from influxdb/830-series-sorted-order

Series should be returned in sorted order
Merge pull request #832 from influxdb/831-create-shard-space

Make create shard space endpoint database specific.
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
add log_test.go
Merge branch 'influxdb'

Conflicts:
	.gitignore