Code cleanup, move common functionality from nurseryManager.js to fieldbook-common.js

Reviewer: Tiff Go

Issues: None