Declaration::isResult now always returns 0

(storage_class & STCxxx) may overflow if STCxxx is bigger than int.max
fix Issue 9413 - Incorrect modification inside contracts is not detected correctly
fix Issue 9414 - Incorrect modification inside contracts is not detected on virtual function
Fix up error messages for 9414
Remove default MODEL from posix.mak

DMD compiles and work fine in 64 bit, so it makes no sense to set the
default MODEL to 32 instead of just let the compiler pick the native
model.
Make guessing the target an info instead of a warning

Having this as a warning makes IDEs to go to the Makefile where the
warning was issued as if an error occurred, which is rather annoying for
something is really normal. An info is enough to let the user now how
the target was guessed.
cod2: Fix latent instruction reorder bug in cdmemcmp

Triggered on Linux by test81 in interpret.d with the
array comparison optimization patch.
Optimize simple array comparison (Issue 9477)
Fix error propagation for ! and BoolExp

If !x is an error, don't change it to a boolean.
Merge pull request #1789 from donc/bool__error

Fix error propagation for ! and BoolExp
fix Issue 9790 - Internal error when compiling a invalid variable in template

1. Remove gagging in VarDeclaration::semantic
2. Commit type in StructLiteralExp::castTo like as StringExp and NullExp
   It's necessary to avoid std.traits unittest breaking.
fix Issue 9818 - Constant folding for static array does not work with initializing by element

Refactoring code for initializer semantic.

- Handle implicit constructor call in ExpInitializer::semantic
- Add target type parameter in Initializer::toExpression.
  For `T[n] sa = e;`, its initializer translation to [e1, e2, ..., en] is delayed until it's really needed.
Allow string literals to be cast to mutable

It is legal in constfolding, and it's already impossible
to modify a string literal in CTFE.
CTFE: Fix comparison of string enums

String enum compares was failing to compile because it wasn't
checking the base type, so wasn't recognizing it as a string.
Fix issue 9744 Poor error message taking address of thread-local variable at compile time

Move the error message from the glue layer, into the interpreter.
Also fix an incorrect entry point into the glue layer.
Fix issue 9745 Allow &staticvar in CTFE

Use SymOffExp for non-dereferenceable pointers to static variables.
It's already supported in the const-folding code, now support it in
CTFE as well. This commit adds full support for pointer arithmetic.
Allow pointer type-painting for pointers to global variables
Allow == comparison of absolute address pointers

They are mainly fake pointers, eg as used for Windows HANDLEs.
Comparison is allowed in const-folding, should be valid in CTFE too.
Merge pull request #1782 from leandro-lucarella-sociomantic/no-default-model

[trivial] Remove default MODEL from posix.mak
fix Issue 9788 - -profile doesn't work if exceptions are thrown in the running program