Update rules

It's a bit bloated, but personally I can control everything better this way. It could be made cleaner by letting some stuff be done with PACKAGE.install and PACKAGE.links files. Other stuff that I tried to fix with this rules file could also be fixed in the actual build process (files incorrectly marked as executable, hardlinks, extra license file, removing unneeded dependencies from binaries).

Pictures and jar files are moved to /usr/share and added to /usr/lib in form of symbolic links. This way I'm getting rid of some Lintian warnings. The remaining warnings are embedded-library and hardening-no-relro, which can only be fixed at compile time (NG still works nevertheless). If there's a GOOD reason why this can't or shouldn't be done, you might consider to override the warnings following this guide: http://lintian.debian.org/manual/section-2.4.html
Otherwise leave them and live with them. ;)

This file creates an hicolor icon set that will be installed to /usr/share/icons/hicolor/. debian/Nightingale-logo.png is not included. Instead you might use the original SVG as source, or even better you include pre-processed PNG files and remove all lines related to create icons (and also remove imagemagick from Build-Depends).

I'm using patchelf to remove unneeded dependencies from some binaries. Patchelf is not available at the Ubuntu or Debian repo, so you have to include it to this package if you want to keep using it. However, I'm only using it here to fix the issue mentioned during the build process in this warning:
    dpkg-shlibdeps: warning: package could avoid a useless dependency if
    debian/nightingale/usr/lib/nightingale/xulrunner/libxul.so
    debian/nightingale/usr/lib/nightingale/xulrunner/xulrunner-bin
    were not linked against libXext.so.6 (they use none of the library's symbols)
    .
    dpkg-shlibdeps: warning: package could avoid a useless dependency if
    debian/nightingale/usr/lib/nightingale/xulrunner/components/libimgicon.so
    debian/nightingale/usr/lib/nightingale/xulrunner/libxul.so
    debian/nightingale/usr/lib/nightingale/xulrunner/updater
    debian/nightingale/usr/lib/nightingale/xulrunner/xulrunner-bin
    debian/nightingale/usr/lib/nightingale/xulrunner/plugins/libnullplugin.so
    were not linked against libpangocairo-1.0.so.0 (they use none of the library's symbols)
    .
    dpkg-shlibdeps: warning: package could avoid a useless dependency if
    debian/nightingale/usr/lib/nightingale/xulrunner/components/libimgicon.so
    debian/nightingale/usr/lib/nightingale/xulrunner/libxul.so
    debian/nightingale/usr/lib/nightingale/xulrunner/updater
    debian/nightingale/usr/lib/nightingale/xulrunner/xulrunner-bin
    debian/nightingale/usr/lib/nightingale/xulrunner/plugins/libnullplugin.so
    were not linked against libgio-2.0.so.0 (they use none of the library's symbols)
I don't know if that's really a useless dependency or not. I guess this should be rather fixed in the first place.