Update script to find master node
Fix issue in REST apis

- If lastTimestamp is null
- Rename package
Update start method

- Surround by try catch too make sure if it is not "disabled" by ES if
MongoDB is not available.
- New status START_FAILED
Change default bulk actions to 1000

- Matching default in ES api
Add sleep of 5 seconds in MongoException catch
Default Auto refresh set to 5 seconds