Include <sys/resource.h> in dalvik_system_Zygote.cpp

Inclusion of sys/resource.h is needed for getrlimit definition when compiling
with gcc 4.8. Without this include compilation fails:

dalvik/vm/native/dalvik_system_Zygote.cpp: In function ‘int setrlimitsFromArray(ArrayObject*)’:
dalvik/vm/native/dalvik_system_Zygote.cpp:213:19: error: aggregate ‘setrlimitsFromArray(ArrayObject*)::rlimit rlim’ has incomplete type and cannot be defined
     struct rlimit rlim;
                   ^
dalvik/vm/native/dalvik_system_Zygote.cpp:236:43: error: ‘setrlimit’ was not declared in this scope
         err = setrlimit(contents[0], &rlim);
                                           ^

Change-Id: Ic737c78a26cd1fc2187a7a505ae36ec054e4774a
Signed-off-by: Adam Tkac <vonsch@gmail.com>
Fix Class.getDeclaringClass bug

(cherry-picked from commit 10197124acd5d6ec4c082a4763932952ee3529ad)

Bug: https://code.google.com/p/android/issues/detail?id=61003
Change-Id: Ie97d12acd7a8897c336c183dac8837769e1b9c5a