add static asserts for constants of untested architectures

- also remove version (X86 || X86_64) idiom
Added core.sys.posix.sys.resource

This is a translation of the sys/resource.h header for Linux, Mac OS X,
FreeBSD and Solaris.
fix __USE_FILE_OFFSET64 usage
add missing rusage struct field for linux

- these are non-XSI fields but are needed for the
  the size of the struct, e.g. getrusage(int, rusage*)

Conflicts:
	src/core/sys/posix/sys/resource.d
FreeBSD: get/setpriority take int rather than id_t
Merge pull request #445 from kyllingstad/sysresource

Added core.sys.posix.sys.resource
implement X86_64 asm for overflow safe mul
Merge pull request #448 from dawgfoto/asmOverflow

implement X86_64 asm for overflow safe mul
unittests with shared library

- add SHARED flag to posix.mak

- default to SHARED=1 on linux

- setting SHARED to a non-empty string implies PIC and
  builds a shared library for testing

- setting SHARED to an empty string builds a single
  executable for testing

- Add a moduleUnitTester that only runs a single unit test
  selected via a cmdline argument. This allows to run tests
  in parallel with a single executable/shared library.
restrict SHARED to linux_64
Merge pull request #447 from dawgfoto/SharedRuntime_7

unittests with shared library
improve callWithStackShell

- compatible with LDC's inline asm
- only push callee save registers
fix random crash with -cov
Merge pull request #426 from dawgfoto/callWithStackShell

improve callWithStackShell
Merge pull request #449 from WalterBright/fixcovercrash

fix random crash with -cov
fix Issue 9726 - Add minimum % coverage required for -cov testing
Mark the floating-point environment as __gshared

It is not a thread-local variable.
Merge pull request #450 from WalterBright/fix9726

fix Issue 9726 - Add minimum % coverage required for -cov testing
Merge pull request #454 from donc/fenv_gshared

Mark the floating-point environment as __gshared
remove unused tls.S