Added more utility functions.

    - more functions for reading YANG input added
    - ready to implement the last few functions themselves