Move core bugmeta files to library folder. Update buildbug script to match changes in projects