Add a template for hive-metastore init script, copied from HDP 2.1 for RHEL family and from HDP 2.0 for Debian family hosts
On Ubuntu, /var/lock is a symlink to /run/lock, which is tmpfs. Remove need for subdirectory. (This is a change from upstream.)
Install the cookbook init script on HDP releases
Merge pull request #77 from continuuity/feature/hive-metastore-initscript

Feature/hive metastore initscript