Changes to ghc(2) base

Changes to ghc:
commit fde01f549441eaac81ed7b976764e99634fce8d9
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Mon May 26 17:03:23 2014 +0100

    Add missing test file T7269

    (cherry picked from commit db869e7521387db0513d1dc2b49641ce32688cdd)

commit bb3fdb4eb3a9cdf644e4f117e1e9916a6b4d7f79
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Wed Jul 2 12:47:11 2014 -0500

    Fix yet another bug in 'deriving' for polykinded classes (Trac #7269)

    This patch makes the code a bit simpler if anything.

    (cherry picked from commit b1436f55da2b0e005ac09be6651a2c4d934027ec)

Changes to base:
commit 566fa608b0b98f4976370afbc635248929794ed9
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date:   Wed Jul 2 12:52:26 2014 -0500

    reading/writing blocking FDs over FD_SETSIZE is broken (Partially Trac #9168)

    Summary:
    libraries/base/cbits/inputReady.c had no limits on file descriptors.
    Add a limit as non-threaded RTS does.

    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

    Test Plan: none

    Reviewers: austin, simonmar

    Reviewed By: austin, simonmar

    Subscribers: simonmar, relrod, carter

    Differential Revision: https://phabricator.haskell.org/D28

    (cherry picked from commit b0316cdb10fbd9eaca7ede28c7bb3eb19f7766bf)