Cannot modify the page title and html.meta doesnt exist?

Not sure about what happened when you pushed to Heroku. Are you sure heroku got the most up to date version of your code?

Re your second question. I found a solution to this two days ago have a look here Adding meta tags to <head>?