Optimize build - remove unnecessary files from dist.

Add whitelist for file extensions which should be copied
into dist, this will prevent bower components files like
readme etc being there.