Changed all statics to consts.

The semantics of static changed and the old ones were more-or-less replaced by
const. See:
https://github.com/rust-lang/meeting-minutes/blob/master/workweek-2014-08-18/static-and-const.md