exceptions: Make Tlv::Error a base class for all packet-processing exceptions

This commit also includes a number of code style fixes.

Change-Id: I44f83915e733b43d5f43b4266902c8262e928d91
Refs: #1528
diff --git a/src/util/config-file.cpp b/src/util/config-file.cpp
index 031df25..c80ddc6 100644
--- a/src/util/config-file.cpp
+++ b/src/util/config-file.cpp
@@ -108,7 +108,7 @@
     {
       boost::property_tree::read_ini(m_input, m_config);
     }
-  catch (const boost::property_tree::ini_parser_error& error)
+  catch (boost::property_tree::ini_parser_error& error)
     {
       std::stringstream msg;
       msg << "Failed to parse configuration file";
@@ -120,4 +120,3 @@
 }
 
 }
-