Merge pull request #804 from hpcugent/develop

release EasyBuild v1.10.0
gen_builddir: do not create unique dir if cleanoldbuild is true
Updated test for gen_builddir
Fix error in using repository.py
Add LIBRARY_PATH to generated Modulefiles.
Added template for bitbucket download
Have fallback if 'cleanupoldbuild' is not set
Back-out LIBRARY_PATH change.
Add LIBRARY_PATH to generated Modulefiles.
Merge remote-tracking branch 'upstream/develop' into develop
Fix bug in more general case
filetools.py: pep8 clean up
checksums: read sha1 and md5 into blocks

When calculating the checksums of a large file, we need to read it into
blocks (currently 16MB) to keep memory usage acceptable.
filetools.py: fix indenting
filetools.py: fix typo
filetools.py: use python 2.x stuff
filetools.py: python 2.4 comp. => don't use blocksize
filetools.py: nicier imports of checksums and explain magic number
filetools.py: use hashlib like wrapper for addler32 and crc32
repository.py: cleaner workflow in init_repository()