How can I get the fill and mask options?
Make sure, that you have the same Blender Version used in the tutorial. Most of them announce which version they use.
The Fill Tool is not available in the 2.71 Version. This is a development of the Google Summer of code 2013 and it's planned to merge this tools in the 2.72 Version.

Currently you can download a build from http://graphicall.org/. (seach for "Paint")

For examle http://graphicall.org/1107 (tested, works)

If you want to draw a Line you can change the Stroke Stettings: