bug fixes
added clean to vendor bundle building
tidying up core bundle building