split core of bitmap export into separate file

add option to ignore empty entities in bounding box calculation
fix dll exports
Merge branch 'master' of github.com:qcad/qcad