Prepare for v1.4.0 release

Update release notes and various version stamps.

Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/scripts/imgtool/__init__.py b/scripts/imgtool/__init__.py
index 804f0d6..262d5ad 100644
--- a/scripts/imgtool/__init__.py
+++ b/scripts/imgtool/__init__.py
@@ -12,4 +12,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-imgtool_version = "1.4.0rc2"
+imgtool_version = "1.4.0"