Added the-end promise to boot.core

- Used to block by wait task
- Tested on Java 7 and Java 8 (OS X)