Implement static_assert attribute

This verifies that a static item evaluates to true, at compile time.
Add static_assert doc blurb
auto merge of #6670 : cmr/rust/static_assert, r=graydon

This verifies that a static item evaluates to true, at compile time.