Update .gitignore with build artifacts

This hides the prepared patches directory for upstream
builds and gyp cache files produced for idl files.

Change-Id: I340e5f6af5169810a780c9295d19bc7ce5fefd8c
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>