add spinner to build and deploy

- add loading flags
- handle errors when building
Merge pull request #565 from strongloop/feature/build-deploy-ui

add spinner to build and deploy

#561